home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / scripts / trees.shader < prev    next >
Encoding:
Text File  |  2002-10-28  |  51.5 KB  |  2,505 lines

  1. // Pine textures
  2. pine_radial
  3. {
  4.     qer_editorimage textures/models/natural/pineradial.tga
  5.     cull none
  6.     {
  7.         clampmap textures/models/natural/pineradial.tga
  8.         depthWrite
  9.         alphafunc GE128
  10.         rgbGen lightingSpherical
  11.     }
  12. }
  13. pine_cross
  14. {
  15.     qer_editorimage textures/models/natural/pinecross.tga
  16.     cull none
  17.     {
  18.         clampmap textures/models/natural/pinecross.tga
  19.         alphafunc GE128
  20.         alphaGen dot
  21.         rgbGen lightingSpherical
  22.     }
  23. }
  24. pine_branches
  25. {
  26.     qer_editorimage textures/models/natural/pinebranchs.tga
  27.     cull none
  28.     {
  29.         clampmap textures/models/natural/pinebranchs.tga
  30.         depthWrite
  31.         alphafunc GE128
  32.         rgbGen lightingSpherical
  33.     }
  34. }
  35.  
  36. // Static Pine textures
  37. static_pine_radial
  38. {
  39.     qer_editorimage textures/models/natural/pineradial.tga
  40.     cull none
  41.     {
  42.         clampmap textures/models/natural/pineradial.tga
  43.         depthWrite
  44.         alphafunc GE128
  45.         rgbgen lightingSpherical
  46.     }
  47. }
  48. static_pine_cross
  49. {
  50.     qer_editorimage textures/models/natural/pinecross.tga
  51.     cull none
  52.     {
  53.         clampmap textures/models/natural/pinecross.tga
  54.         alphafunc GE128
  55.         alphaGen dot
  56.         rgbgen lightingSpherical
  57.     }
  58. }
  59. static_pine_branches
  60. {
  61.     qer_editorimage textures/models/natural/pinebranchs.tga
  62.     cull none
  63.     {
  64.         clampmap textures/models/natural/pinebranchs.tga
  65.         depthWrite
  66.         alphafunc GE128
  67.         rgbgen lightingSpherical
  68.     }
  69. }
  70.  
  71.  
  72. // Snow covered pine tree
  73. pine_radial_snow
  74. {
  75.     qer_editorimage textures/models/natural/pineradial_snow.tga
  76.     cull none
  77.     {
  78.         clampmap textures/models/natural/pineradial_snow.tga
  79.         depthWrite
  80.         alphafunc GE128
  81.         rgbGen lightingSpherical
  82.     }
  83. }
  84. pine_cross_snow
  85. {
  86.     qer_editorimage textures/models/natural/pinecross_snow.tga
  87.     cull none
  88.     {
  89.         clampmap textures/models/natural/pinecross_snow.tga
  90.         alphafunc GE128
  91.         alphaGen dot
  92.         rgbGen lightingSpherical
  93.     }
  94. }
  95. pine_branches_snow
  96. {
  97.     qer_editorimage textures/models/natural/pinebranchs_snow.tga
  98.     cull none
  99.     {
  100.         clampmap textures/models/natural/pinebranchs_snow.tga
  101.         depthWrite
  102.         alphafunc GE128
  103.         rgbGen lightingSpherical
  104.     }
  105. }
  106.  
  107. // Snow covered pine tree
  108. static_pine_radial_snow
  109. {
  110.     qer_editorimage textures/models/natural/pineradial_snow.tga
  111.     cull none
  112.     {
  113.         clampmap textures/models/natural/pineradial_snow.tga
  114.         depthWrite
  115.         alphafunc GE128
  116.         rgbgen lightingSpherical
  117.     }
  118. }
  119. static_pine_cross_snow
  120. {
  121.     qer_editorimage textures/models/natural/pinecross_snow.tga
  122.     cull none
  123.     {
  124.         clampmap textures/models/natural/pinecross_snow.tga
  125.         alphafunc GE128
  126.         alphaGen dot
  127.         rgbgen lightingSpherical
  128.     }
  129. }
  130. static_pine_branches_snow
  131. {
  132.     qer_editorimage textures/models/natural/pinebranchs_snow.tga
  133.     cull none
  134.     {
  135.         clampmap textures/models/natural/pinebranchs_snow.tga
  136.         depthWrite
  137.         alphafunc GE128
  138.         rgbgen lightingSpherical
  139.     }
  140. }
  141.  
  142.  
  143. // General tree textures
  144. trunk1drk
  145. {
  146.     qer_editorimage textures/models/natural/trunk1drk.tga
  147.     {
  148.         map textures/models/natural/trunk1drk.tga
  149.         rgbGen lightingSpherical
  150.     }
  151. }
  152. N_trunk
  153. {
  154.     qer_editorimage textures/models/natural/trunk_s.tga
  155.     {
  156.         map textures/models/natural/trunk_s.tga
  157.         rgbGen lightingSpherical
  158.     }
  159. }
  160.  
  161. // Test tree textures
  162. tree_horiz
  163. {
  164.     qer_editorimage textures/models/natural/tree_horiz.tga
  165.     cull none
  166.     {
  167.         clampmap textures/models/natural/tree_horiz.tga
  168.         depthWrite
  169.         alphafunc GE128
  170.         rgbGen lightingSpherical
  171.     }
  172. }
  173. tree_radial
  174. {
  175.     qer_editorimage textures/models/natural/tree_radial.tga
  176.     cull none
  177.     {
  178.         clampmap textures/models/natural/tree_radial.tga
  179.         depthWrite
  180.         alphafunc GE128
  181.         rgbGen lightingSpherical
  182.     }
  183. }
  184. tree_crossect
  185. {
  186.     qer_editorimage textures/models/natural/tree_crossect.tga
  187.     cull none
  188.     {
  189.         clampmap textures/models/natural/tree_crossect.tga
  190.         depthWrite
  191.         alphafunc GE128
  192.         rgbGen lightingSpherical
  193.     }
  194. }
  195. tree_new_end1
  196. {
  197.     qer_editorimage textures/models/natural/new_end1.tga
  198.     cull none
  199.     {
  200.         clampmap textures/models/natural/new_end1.tga
  201.         depthWrite
  202.         alphafunc GE128
  203.         rgbGen lightingSpherical
  204.     }
  205. }
  206. tree_trunk1root
  207. {
  208.     qer_editorimage textures/models/natural/trunk1root.tga
  209.     {
  210.         map textures/models/natural/trunk1root.tga
  211.         rgbGen lightingSpherical
  212.     }
  213. }
  214. tree_limb1drk
  215. {
  216.     qer_editorimage textures/models/natural/limb1drk.tga
  217.     {
  218.         map textures/models/natural/limb1drk.tga
  219.         rgbGen lightingSpherical
  220.     }
  221. }
  222.  
  223. // Tree1-regular tree
  224. tree1_1    // Trunk
  225. {
  226.     qer_editorimage textures/models/natural/tree1_1.tga
  227.     {
  228.         map textures/models/natural/tree1_1.tga
  229.         rgbGen lightingSpherical
  230. //        alphaGen distFade 2304 0
  231.         alphaGen distFade 3500 0
  232.     }
  233. }
  234. tree1_2 // Small fill branches
  235. {
  236.     qer_editorimage textures/models/natural/tree1_2.tga
  237.     nomipmaps
  238.     cull none
  239.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  240.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  241.     {
  242.         clampmap textures/models/natural/tree1_2.tga
  243.         depthWrite
  244.         alphaFunc GE128
  245.         alphaGen distFade 512 256
  246.         rgbGen lightingGrid
  247.     }
  248. }
  249. tree1_3 // Cross section
  250. {
  251.     qer_editorimage textures/models/natural/tree1_3.tga
  252.     nomipmaps
  253.     cull none
  254.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  255.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  256.     {
  257.         clampmap textures/models/natural/tree1_3.tga
  258.         depthWrite
  259.         alphaFunc GE128
  260. //        alphaGen distFade 1536 512
  261.         alphaGen distFade 2536 512
  262.         rgbGen lightingGrid
  263.     }
  264. }
  265. tree1_4 // Horizontal cross section
  266. {
  267.     qer_editorimage textures/models/natural/tree1_4.tga
  268.     nomipmaps
  269.     
  270.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  271.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  272.     {
  273.         clampmap textures/models/natural/tree1_4.tga
  274.         depthWrite
  275.         alphaFunc GE128
  276.         alphaGen distFade 256 256
  277.         rgbGen lightingGrid
  278.     }
  279. }
  280. tree1_5 // Fill leaves
  281. {
  282.     qer_editorimage textures/models/natural/tree1_5.tga
  283.     nomipmaps
  284.     cull none
  285.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  286.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  287.     {
  288.         clampmap textures/models/natural/tree1_5.tga
  289.         depthWrite
  290.         alphaFunc GE128
  291. //        alphaGen distFade 1536 256
  292.         alphaGen distFade 2036 256
  293.         rgbGen lightingGrid
  294.     }
  295. }
  296. tree1sprite // Sprite version
  297. {
  298.     qer_editorimage textures/models/natural/tree1sprite.tga
  299.     qer_trans 0
  300.     nomipmaps
  301.     deformVertexes autoSprite2
  302.     cull none
  303.     {
  304.         clampmap textures/models/natural/tree1sprite.tga
  305.         depthWrite
  306.         alphaFunc GE128
  307.         alphaGen oneMinusTikiDistFade 1216 512
  308.         rgbGen lightingGrid
  309.     }
  310. }
  311.  
  312. // Tree1-regular tree
  313. static_tree1_1    // Trunk
  314. {
  315.     qer_editorimage textures/models/natural/tree1_1.tga
  316.     {
  317.         map textures/models/natural/tree1_1.tga
  318.         alphaGen distFade 2304 0
  319.         rgbgen lightingSpherical
  320.     }
  321. }
  322. static_tree1_2 // Small fill branches
  323. {
  324.     qer_editorimage textures/models/natural/tree1_2.tga
  325.     nomipmaps
  326.     cull none
  327.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  328.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  329.     {
  330.         clampmap textures/models/natural/tree1_2.tga
  331.         depthWrite
  332.         alphaFunc GE128
  333.         alphaGen distFade 512 256
  334.         rgbgen lightingSpherical
  335.     }
  336. }
  337. static_tree1_3 // Cross section
  338. {
  339.     qer_editorimage textures/models/natural/tree1_3.tga
  340.     nomipmaps
  341.     cull none
  342.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  343.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  344.     {
  345.         clampmap textures/models/natural/tree1_3.tga
  346.         depthWrite
  347.         alphaFunc GE128
  348.         alphaGen distFade 1536 512
  349.         rgbgen lightingSpherical
  350.     }
  351. }
  352. static_tree1_4 // Horizontal cross section
  353. {
  354.     qer_editorimage textures/models/natural/tree1_4.tga
  355.     nomipmaps
  356.     
  357.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  358.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  359.     {
  360.         clampmap textures/models/natural/tree1_4.tga
  361.         depthWrite
  362.         alphaFunc GE128
  363.         alphaGen distFade 256 256
  364.         rgbgen lightingSpherical
  365.     }
  366. }
  367. static_tree1_5 // Fill leaves
  368. {
  369.     qer_editorimage textures/models/natural/tree1_5.tga
  370.     nomipmaps
  371.     cull none
  372. //    good low wind values
  373. //    deformVertexes flap t 24 sin 2 3 0   .25 1 0
  374.  
  375.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  376.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  377.  
  378. //    deformVertexes flap <s|t> <div> <function> <base> <amplitude> <phase> <frequency> <optional min> <optional max>
  379. //    deformVertexes flap t     128   sin        0      4           0       .2          1              0
  380. //    deformVertexes flap t     128   sin        0      4          .25      .25         1              0
  381.     {
  382.         clampmap textures/models/natural/tree1_5.tga
  383.         depthWrite
  384.         alphaFunc GE128
  385.         alphaGen distFade 1536 256
  386.         rgbgen lightingSpherical
  387.     }
  388. }
  389. static_tree1sprite // Sprite version
  390. {
  391.     qer_editorimage textures/models/natural/tree1sprite.tga
  392.     qer_trans 0
  393.     nomipmaps
  394.     deformVertexes autoSprite2
  395.     cull none
  396.     {
  397.         clampmap textures/models/natural/tree1sprite.tga
  398.         depthWrite
  399.         alphaFunc GE128
  400.         alphaGen oneMinusTikiDistFade 1216 512
  401.         rgbgen lightingSpherical
  402.     }
  403. }
  404.  
  405.  
  406. // Tree2  //birch
  407. tree2_1 //trunk
  408. {
  409.     qer_editorimage textures/models/natural/tree2_1.tga
  410.     {
  411.         map textures/models/natural/tree2_1.tga
  412.         rgbGen lightingSpherical
  413.         alphaGen distFade 1000 600
  414.     }
  415. }
  416.  
  417. tree2_2 //vertacle cross plains
  418. {
  419.     qer_editorimage textures/models/natural/tree2_2.tga
  420.     nomipmaps
  421.     cull none
  422. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  423.     {
  424.         clampmap textures/models/natural/tree2_2.tga
  425.         depthWrite
  426.         alphaFunc GE128
  427.         alphaGen distFade 1200 500
  428.         rgbGen lightingGrid
  429.     }
  430. }
  431.  
  432. tree2_3 //fill plains
  433. {
  434.     qer_editorimage textures/models/natural/tree2_3.tga
  435.     nomipmaps
  436.     cull none
  437. //    good low wind values
  438.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  439.     {
  440.         clampmap textures/models/natural/tree2_3.tga
  441.         depthWrite
  442.         alphaFunc GE128
  443.         alphaGen distFade 2100 1500
  444.         rgbGen lightingGrid
  445.     }
  446. }
  447.  
  448. tree2_4 //horizontal plains
  449. {
  450.     qer_editorimage textures/models/natural/tree2_4.tga
  451.     nomipmaps
  452.     cull none
  453. //    check into these, not that important, get the rest looking right 1st
  454. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  455.     {
  456.         clampmap textures/models/natural/tree2_4.tga
  457.         depthWrite
  458.         alphaFunc GE128
  459.         alphaGen distFade 512 512
  460.         rgbGen lightingGrid
  461.     }
  462. }
  463.  
  464. tree2sprite //birch sprite
  465. {
  466.     qer_editorimage textures/models/natural/tree2sprite.tga
  467.     qer_trans 0
  468.     nomipmaps
  469.     deformVertexes autoSprite2
  470.     cull none
  471.     {
  472.         clampmap textures/models/natural/tree2sprite.tga
  473.         depthWrite
  474.         alphaFunc GE128
  475.         alphaGen oneMinusTikiDistFade 900 500
  476.         rgbGen lightingGrid
  477.     }
  478. }
  479.  
  480. // Tree2  //birch
  481. static_tree2_1 //trunk
  482. {
  483.     qer_editorimage textures/models/natural/tree2_1.tga
  484.     {
  485.         map textures/models/natural/tree2_1.tga
  486.         alphaGen distFade 1000 600
  487.         rgbgen lightingSpherical
  488.     }
  489. }
  490. static_tree2_2 //vertacle cross plains
  491. {
  492.     qer_editorimage textures/models/natural/tree2_2.tga
  493.     nomipmaps
  494.     cull none
  495. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  496.     {
  497.         clampmap textures/models/natural/tree2_2.tga
  498.         depthWrite
  499.         alphaFunc GE128
  500.         alphaGen distFade 1200 500
  501.         rgbgen lightingSpherical
  502.     }
  503. }
  504. static_tree2_3 //fill plains
  505. {
  506.     qer_editorimage textures/models/natural/tree2_3.tga
  507.     nomipmaps
  508.     cull none
  509. //    good low wind values
  510.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  511.     {
  512.         clampmap textures/models/natural/tree2_3.tga
  513.         depthWrite
  514.         alphaFunc GE128
  515.         alphaGen distFade 2100 1500
  516.         rgbgen lightingSpherical
  517.     }
  518. }
  519. static_tree2_4 //horizontal plains
  520. {
  521.     qer_editorimage textures/models/natural/tree2_4.tga
  522.         nomipmaps
  523.     cull none
  524. //    check into these, not that important, get the rest looking right 1st
  525. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  526.     {
  527.         clampmap textures/models/natural/tree2_4.tga
  528.         depthWrite
  529.         alphaFunc GE128
  530.         alphaGen distFade 512 512
  531.         rgbgen lightingSpherical
  532.     }
  533. }
  534. static_tree2sprite //birch sprite
  535. {
  536.     qer_editorimage textures/models/natural/tree2sprite.tga
  537.         qer_trans 0
  538.     nomipmaps
  539.     deformVertexes autoSprite2
  540.     cull none
  541.     {
  542.         clampmap textures/models/natural/tree2sprite.tga
  543.         depthWrite
  544.         alphaFunc GE128
  545.         alphaGen oneMinusTikiDistFade 900 500
  546.         rgbgen lightingSpherical
  547.     }
  548. }
  549.  
  550.  
  551.  
  552. // Tree2a //juniper
  553. tree2a_1 //trunk
  554. {
  555.     qer_editorimage textures/models/natural/tree2a_1.tga
  556.     {
  557.         map textures/models/natural/tree2a_1.tga
  558.         rgbGen lightingSpherical
  559.         alphaGen distFade 1000 600
  560.     }
  561. }
  562.  
  563. tree2a_2 //vertacle cross plains
  564. {
  565.     qer_editorimage textures/models/natural/tree2a_2.tga
  566.     nomipmaps
  567.     cull none
  568. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  569.     {
  570.         clampmap textures/models/natural/tree2a_2.tga
  571.         depthWrite
  572.         alphaFunc GE128
  573.         alphaGen distFade 1200 500
  574.         rgbGen lightingGrid
  575.     }
  576. }
  577.  
  578. tree2a_3 //fill plains
  579. {
  580.     qer_editorimage textures/models/natural/tree2a_3.tga
  581.     nomipmaps
  582.     cull none
  583. //    good low wind values
  584.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  585.     {
  586.         clampmap textures/models/natural/tree2a_3.tga
  587.         depthWrite
  588.         alphaFunc GE128
  589.         alphaGen distFade 2100 1500
  590.         rgbGen lightingGrid
  591.     }
  592. }
  593.  
  594. tree2a_4 //horizontal plains
  595. {
  596.     qer_editorimage textures/models/natural/tree2a_4.tga
  597.         nomipmaps
  598.     cull none
  599. //    check into these, not that important, get the rest looking right 1st
  600. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  601.     {
  602.         clampmap textures/models/natural/tree2a_4.tga
  603.         depthWrite
  604.         alphaFunc GE128
  605.         alphaGen distFade 512 512
  606.         rgbGen lightingGrid
  607.     }
  608. }
  609.  
  610. tree2asprite //juniper sprite
  611. {
  612.     qer_editorimage textures/models/natural/tree2asprite.tga
  613.     qer_trans 0
  614.     nomipmaps
  615.     deformVertexes autoSprite2
  616.     cull none
  617.     {
  618.         clampmap textures/models/natural/tree2asprite.tga
  619.         depthWrite
  620.         alphaFunc GE128
  621.         alphaGen oneMinusTikiDistFade 900 500
  622.         rgbGen lightingGrid
  623.     }
  624. }
  625.  
  626. // Tree2a //juniper
  627. static_tree2a_1 //trunk
  628. {
  629.     qer_editorimage textures/models/natural/tree2a_1.tga
  630.     {
  631.         map textures/models/natural/tree2a_1.tga
  632.         rgbgen lightingSpherical
  633.         alphaGen distFade 1000 600
  634.     }
  635. }
  636.  
  637. static_tree2a_2 //vertacle cross plains
  638. {
  639.     qer_editorimage textures/models/natural/tree2a_2.tga
  640.     nomipmaps
  641.     cull none
  642.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  643.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  644.     {
  645.         clampmap textures/models/natural/tree2a_2.tga
  646.         depthWrite
  647.         alphaFunc GE128
  648.         alphaGen distFade 1200 500
  649.         rgbgen lightingSpherical
  650.     }
  651. }
  652.  
  653. static_tree2a_3 //fill plains
  654. {
  655.     qer_editorimage textures/models/natural/tree2a_3.tga
  656.     nomipmaps
  657.     cull none
  658.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  659.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  660.     {
  661.         clampmap textures/models/natural/tree2a_3.tga
  662.         depthWrite
  663.         alphaFunc GE128
  664.         alphaGen distFade 2100 1500
  665.         rgbgen lightingSpherical
  666.     }
  667. }
  668.  
  669. static_tree2a_4 //horizontal plains
  670. {
  671.     qer_editorimage textures/models/natural/tree2a_4.tga
  672.     nomipmaps
  673.     cull none
  674.     deformVertexes wave 24 sin 0 1.5 0    0.2 
  675.     deformVertexes wave 24 sin 0 1.5 0.25 0.3 
  676.     {
  677.         clampmap textures/models/natural/tree2a_4.tga
  678.         depthWrite
  679.         alphaFunc GE128
  680.         alphaGen distFade 512 512
  681.         rgbgen lightingSpherical
  682.     }
  683. }
  684.  
  685. static_tree2asprite //juniper sprite
  686. {
  687.     qer_editorimage textures/models/natural/tree2asprite.tga
  688.     qer_trans 0
  689.     nomipmaps
  690.     deformVertexes autoSprite2
  691.     cull none
  692.     {
  693.         clampmap textures/models/natural/tree2asprite.tga
  694.         depthWrite
  695.         alphaFunc GE128
  696.         alphaGen oneMinusTikiDistFade 900 500
  697.         rgbgen lightingSpherical
  698.     }
  699. }
  700.  
  701.  
  702. // Tree3-small pine tree
  703. tree3_1
  704. {
  705.     qer_editorimage textures/models/natural/tree3_1.tga
  706.     {
  707.         map textures/models/natural/tree3_1.tga
  708.         rgbGen lightingSpherical
  709.     }
  710. }
  711. tree3_2
  712. {
  713.     qer_editorimage textures/models/natural/tree3_2.tga
  714.     cull none
  715.     {
  716.         clampmap textures/models/natural/tree3_2.tga
  717.         depthWrite
  718.         alphafunc GE128
  719.         rgbGen lightingSpherical
  720.     }
  721. }
  722. tree3_3
  723. {
  724.     qer_editorimage textures/models/natural/tree3_3.tga
  725.     cull none
  726.     {
  727.         clampmap textures/models/natural/tree3_3.tga
  728.         depthWrite
  729.         alphafunc GE128
  730.         rgbGen lightingSpherical
  731.     }
  732. }
  733.  
  734. // Tree3-small pine tree
  735. static_tree3_1
  736. {
  737.     qer_editorimage textures/models/natural/tree3_1.tga
  738.     {
  739.         map textures/models/natural/tree3_1.tga
  740.         rgbgen lightingSpherical
  741.     }
  742. }
  743. static_tree3_2
  744. {
  745.     qer_editorimage textures/models/natural/tree3_2.tga
  746.     cull none
  747.     {
  748.         clampmap textures/models/natural/tree3_2.tga
  749.         depthWrite
  750.         alphafunc GE128
  751.         rgbgen lightingSpherical
  752.     }
  753. }
  754. static_tree3_3
  755. {
  756.     qer_editorimage textures/models/natural/tree3_3.tga
  757.     cull none
  758.     {
  759.         clampmap textures/models/natural/tree3_3.tga
  760.         depthWrite
  761.         alphafunc GE128
  762.         rgbgen lightingSpherical
  763.     }
  764. }
  765.  
  766.  
  767. // Tree3s-small pine tree
  768. tree3s_1
  769. {
  770.     qer_editorimage textures/models/natural/tree3s_1.tga
  771.     {
  772.         map textures/models/natural/tree3s_1.tga
  773.         rgbGen lightingSpherical
  774.     }
  775. }
  776. tree3s_2
  777. {
  778.     qer_editorimage textures/models/natural/tree3s_2.tga
  779.     cull none
  780.     {
  781.         clampmap textures/models/natural/tree3s_2.tga
  782.         depthWrite
  783.         alphafunc GE128
  784.         rgbGen lightingSpherical
  785.     }
  786. }
  787. tree3s_3
  788. {
  789.     qer_editorimage textures/models/natural/tree3s_3.tga
  790.     cull none
  791.     {
  792.         clampmap textures/models/natural/tree3s_3.tga
  793.         depthWrite
  794.         alphafunc GE128
  795.         rgbGen lightingSpherical
  796.     }
  797. }
  798.  
  799. // Tree3s-small pine tree
  800. static_tree3s_1
  801. {
  802.     qer_editorimage textures/models/natural/tree3s_1.tga
  803.     {
  804.         map textures/models/natural/tree3s_1.tga
  805.         rgbgen lightingSpherical
  806.     }
  807. }
  808. static_tree3s_2
  809. {
  810.     qer_editorimage textures/models/natural/tree3s_2.tga
  811.     cull none
  812.     {
  813.         clampmap textures/models/natural/tree3s_2.tga
  814.         depthWrite
  815.         alphafunc GE128
  816.         rgbgen lightingSpherical
  817.     }
  818. }
  819. static_tree3s_3
  820. {
  821.     qer_editorimage textures/models/natural/tree3s_3.tga
  822.     cull none
  823.     {
  824.         clampmap textures/models/natural/tree3s_3.tga
  825.         depthWrite
  826.         alphafunc GE128
  827.         rgbgen lightingSpherical
  828.     }
  829. }
  830.  
  831.  
  832. // Tree4  //Oak type tree
  833. tree4_1 //trunk
  834. {
  835.     qer_editorimage textures/models/natural/tree4_1.tga
  836.     {
  837.         map textures/models/natural/tree4_1.tga
  838.         rgbGen lightingSpherical
  839.         alphaGen distFade 2000 600
  840.     }
  841. }
  842.  
  843. tree4_2 //vertical cross section
  844. {
  845.     qer_editorimage textures/models/natural/tree4_2.tga
  846.     nomipmaps
  847.     cull none
  848. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  849.     {
  850.         clampmap textures/models/natural/tree4_2.tga
  851.         depthWrite
  852.         alphaFunc GE128
  853.         alphaGen distFade 2000 1500
  854.         rgbGen lightingGrid
  855.     }
  856. }
  857. tree4_3 //fill plains
  858. {
  859.     qer_editorimage textures/models/natural/tree4_3.tga
  860.     nomipmaps
  861.     cull none
  862. //    good low wind values
  863.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  864.     {
  865.         clampmap textures/models/natural/tree4_3.tga
  866.         depthWrite
  867.         alphaFunc GE128
  868.         alphaGen distFade 1400 1400
  869.         rgbGen lightingGrid
  870.     }
  871. }
  872.  
  873. tree4_4 //horizontal cross plains
  874. {
  875.     qer_editorimage textures/models/natural/tree4radial.tga
  876.     nomipmaps
  877.     cull none
  878. //    check into these, not that important, get the rest looking right 1st
  879. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  880.     {
  881.         clampmap textures/models/natural/tree4radial.tga
  882.         depthWrite
  883.         alphaFunc GE128
  884.         alphaGen distFade 256 256
  885.         rgbGen lightingGrid
  886.     }
  887. }
  888. tree4_6 // Small fill branches
  889. {
  890.     qer_editorimage textures/models/natural/tree4_3.tga
  891.     nomipmaps
  892.     cull none
  893. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  894.     {
  895.         clampmap textures/models/natural/tree4_3.tga
  896.         depthWrite
  897.         alphaFunc GE128
  898.         alphaGen distFade 1000 1000
  899.         rgbGen lightingGrid
  900.     }
  901. }
  902. tree4_7 // inner buffer branches
  903. {
  904.     qer_editorimage textures/models/natural/tree4radial.tga
  905.     nomipmaps
  906.    
  907. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  908.     {
  909.         clampmap textures/models/natural/tree4radial.tga
  910.         depthWrite
  911.         alphaFunc GE128
  912.         alphaGen distFade 300 300
  913.         rgbGen lightingGrid
  914.     }
  915. }
  916.  
  917. tree4sprite // Sprite version
  918. {
  919.     qer_editorimage textures/models/natural/tree4sprite.tga
  920.     qer_trans 0
  921.     nomipmaps
  922.     deformVertexes autoSprite2
  923.     cull none
  924.     {
  925.         clampmap textures/models/natural/tree4sprite.tga
  926.         depthWrite
  927.         alphaFunc GE128
  928.         alphaGen oneMinusTikiDistFade 900 900
  929.         rgbGen lightingGrid
  930.     }
  931. }
  932.  
  933. // Tree4  //Oak type tree
  934. static_tree4_1 //trunk
  935. {
  936.     qer_editorimage textures/models/natural/tree4_1.tga
  937.     {
  938.         map textures/models/natural/tree4_1.tga
  939.         rgbgen lightingSpherical
  940.         alphaGen distFade 2000 600
  941.     }
  942. }
  943. static_tree4_2 //vertical cross section
  944. {
  945.     qer_editorimage textures/models/natural/tree4_2.tga
  946.     nomipmaps
  947.     cull none
  948.     deformVertexes flap t 24 sin 0 2.5 0    0.2 1 0
  949.     deformVertexes flap t 24 sin 0 2.5 0.25 0.3 1 0
  950.     {
  951.         clampmap textures/models/natural/tree4_2.tga
  952.         depthWrite
  953.         alphaFunc GE128
  954.         alphaGen distFade 2000 1500
  955.         rgbgen lightingSpherical
  956.     }
  957. }
  958. static_tree4_3 //fill plains
  959. {
  960.     qer_editorimage textures/models/natural/tree4_3.tga
  961.     nomipmaps
  962.     cull none
  963.     deformVertexes flap t 24 sin 0 2.5 0    0.2 1 0
  964.     deformVertexes flap t 24 sin 0 2.5 0.25 0.3 1 0
  965.     {
  966.         clampmap textures/models/natural/tree4_3.tga
  967.         depthWrite
  968.         alphaFunc GE128
  969.         alphaGen distFade 1400 1400
  970.         rgbgen lightingSpherical
  971.     }
  972. }
  973. static_tree4_4 //horizontal cross plains
  974. {
  975.     qer_editorimage textures/models/natural/tree4radial.tga
  976.     nomipmaps
  977.     cull none
  978.     deformVertexes wave 24 sin 0 0.5 0    0.2
  979.     deformVertexes wave 24 sin 0 0.5 0.25 0.3
  980.     {
  981.         clampmap textures/models/natural/tree4radial.tga
  982.         depthWrite
  983.         alphaFunc GE128
  984.         alphaGen distFade 256 256
  985.         rgbgen lightingSpherical
  986.     }
  987. }
  988. static_tree4_6 // Small fill branches
  989. {
  990.     qer_editorimage textures/models/natural/tree4_3.tga
  991.     nomipmaps
  992.     cull none
  993.     deformVertexes flap t 24 sin 0 2.5 0    0.2 1 0
  994.     deformVertexes flap t 24 sin 0 2.5 0.25 0.3 1 0
  995.     {
  996.         clampmap textures/models/natural/tree4_3.tga
  997.         depthWrite
  998.         alphaFunc GE128
  999.         alphaGen distFade 1000 1000
  1000.         rgbgen lightingSpherical
  1001.     }
  1002. }
  1003. static_tree4_7 // inner buffer branches
  1004. {
  1005.     qer_editorimage textures/models/natural/tree4radial.tga
  1006.     nomipmaps
  1007.    
  1008.     deformVertexes flap t 24 sin 0 1.5 0    0.2 1 0
  1009.     deformVertexes flap t 24 sin 0 1.5 0.25 0.3 1 0
  1010.     {
  1011.         clampmap textures/models/natural/tree4radial.tga
  1012.         depthWrite
  1013.         alphaFunc GE128
  1014.         alphaGen distFade 300 300
  1015.         rgbgen lightingSpherical
  1016.     }
  1017. }
  1018. static_tree4sprite // Sprite version
  1019. {
  1020.     qer_editorimage textures/models/natural/tree4sprite.tga
  1021.     qer_trans 0
  1022.     nomipmaps
  1023.     deformVertexes autoSprite2
  1024.     cull none
  1025.     {
  1026.         clampmap textures/models/natural/tree4sprite.tga
  1027.         depthWrite
  1028.         alphaFunc GE128
  1029.         alphaGen oneMinusTikiDistFade 900 900
  1030.         rgbgen lightingSpherical
  1031.     }
  1032. }
  1033.  
  1034.  
  1035.  
  1036. // Tree5-tall pine
  1037. tree5_1 //trunk
  1038. {
  1039.     qer_editorimage textures/models/natural/tree5_1.tga
  1040.     {
  1041.         map textures/models/natural/tree5_1.tga
  1042.         rgbGen lightingSpherical
  1043.     }
  1044. }
  1045. tree5_2 //verticle cross sections
  1046. {
  1047.     qer_editorimage textures/models/natural/tree5_2.tga
  1048.     cull none
  1049.     {
  1050.         clampmap textures/models/natural/tree5_2.tga
  1051.         depthWrite
  1052.         alphafunc GE128
  1053.         rgbGen lightingSpherical
  1054.     }
  1055. }
  1056. tree5_3 //fill plains
  1057. {
  1058.     qer_editorimage textures/models/natural/tree5_3.tga
  1059.     cull none
  1060.     {
  1061.         clampmap textures/models/natural/tree5_3.tga
  1062.         depthWrite
  1063.         alphafunc GE128
  1064.         rgbGen lightingSpherical
  1065.     }
  1066. }
  1067.  
  1068.  
  1069. // Tree5-tall pine
  1070. static_tree5_1 //trunk
  1071. {
  1072.     qer_editorimage textures/models/natural/tree5_1.tga
  1073.     {
  1074.         map textures/models/natural/tree5_1.tga
  1075.         rgbgen lightingSpherical
  1076.     }
  1077. }
  1078. static_tree5_2 //verticle cross sections
  1079. {
  1080.     qer_editorimage textures/models/natural/tree5_2.tga
  1081.     cull none
  1082.     {
  1083.         clampmap textures/models/natural/tree5_2.tga
  1084.         depthWrite
  1085.         alphafunc GE128
  1086.         rgbgen lightingSpherical
  1087.     }
  1088. }
  1089. static_tree5_3 //fill plains
  1090. {
  1091.     qer_editorimage textures/models/natural/tree5_3.tga
  1092.     cull none
  1093.     {
  1094.         clampmap textures/models/natural/tree5_3.tga
  1095.         depthWrite
  1096.         alphafunc GE128
  1097.         rgbgen lightingSpherical
  1098.     }
  1099. }
  1100.  
  1101.  
  1102. // Tree5s-tall pine
  1103. tree5s_1 //trunk
  1104. {
  1105.     qer_editorimage textures/models/natural/tree5s_1.tga
  1106.     {
  1107.         map textures/models/natural/tree5s_1.tga
  1108.         rgbGen lightingSpherical
  1109. //    alphaGen distFade 900 0
  1110.     }
  1111. }
  1112.  
  1113. static_tree5s_1 //trunk
  1114. {
  1115.     qer_editorimage textures/models/natural/tree5s_1.tga
  1116.     {
  1117.         map textures/models/natural/tree5s_1.tga
  1118.         rgbgen lightingSpherical
  1119.     alphaGen distFade 900 0
  1120.     }
  1121. }
  1122.  
  1123. tree5s_2 //fill sections
  1124. {
  1125.     qer_editorimage textures/models/natural/tree5s_2.tga
  1126.         nomipmaps
  1127.     cull none
  1128. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1129.     {
  1130.         clampmap textures/models/natural/tree5s_2.tga
  1131.         depthWrite
  1132.         alphaFunc GE128
  1133.         alphaGen distFade 1200 500
  1134.         rgbGen lightingGrid
  1135.     }
  1136. }
  1137.  
  1138. static_tree5s_2 //fill sections
  1139. {
  1140.     qer_editorimage textures/models/natural/tree5s_2.tga
  1141.         nomipmaps
  1142.     cull none
  1143. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1144.     {
  1145.         clampmap textures/models/natural/tree5s_2.tga
  1146.         depthWrite
  1147.         alphaFunc GE128
  1148.         alphaGen distFade 1200 500
  1149.         rgbgen lightingSpherical
  1150.     }
  1151. }
  1152.  
  1153. tree5s_3 //vertical cross sections
  1154. {
  1155.     qer_editorimage textures/models/natural/tree5s_3.tga
  1156.     nomipmaps
  1157.     cull none
  1158. //    good low wind values
  1159.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  1160.     {
  1161.         clampmap textures/models/natural/tree5s_3.tga
  1162.         depthWrite
  1163.         alphaFunc GE128
  1164.         alphaGen distFade 2100 1500
  1165.         rgbGen lightingGrid
  1166.     }
  1167. }
  1168.  
  1169. static_tree5s_3 //vertical cross sections
  1170. {
  1171.     qer_editorimage textures/models/natural/tree5s_3.tga
  1172.     nomipmaps
  1173.     cull none
  1174. //    good low wind values
  1175.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  1176.     {
  1177.         clampmap textures/models/natural/tree5s_3.tga
  1178.         depthWrite
  1179.         alphaFunc GE128
  1180.         alphaGen distFade 2100 1500
  1181.         rgbgen lightingSpherical
  1182.     }
  1183. }
  1184.  
  1185. tree5ssprite
  1186. {
  1187.     qer_editorimage textures/models/natural/tree5ssprite.tga
  1188.     qer_trans 0
  1189.     nomipmaps
  1190.     deformVertexes autoSprite2
  1191.     cull none
  1192.     {
  1193.         clampmap textures/models/natural/tree5ssprite.tga
  1194.         depthWrite
  1195.         alphaFunc GE128
  1196.         alphaGen oneMinusTikiDistFade 900 500
  1197.         rgbGen lightingGrid
  1198.     }
  1199. }
  1200.  
  1201. // Tree5s-tall pine
  1202. static_tree5s_1 //trunk
  1203. {
  1204.     qer_editorimage textures/models/natural/tree5s_1.tga
  1205.     {
  1206.         map textures/models/natural/tree5s_1.tga
  1207.         rgbgen lightingSpherical
  1208. //    alphaGen distFade 900 0
  1209.     }
  1210. }
  1211.  
  1212. static_tree5s_2 //fill sections
  1213. {
  1214.     qer_editorimage textures/models/natural/tree5s_2.tga
  1215.         nomipmaps
  1216.     cull none
  1217. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1218.     {
  1219.         clampmap textures/models/natural/tree5s_2.tga
  1220.         depthWrite
  1221.         alphaFunc GE128
  1222.         alphaGen distFade 1200 500
  1223.         rgbgen lightingSpherical
  1224.     }
  1225. }
  1226.  
  1227.  
  1228. static_tree5s_3 //vertical cross sections
  1229. {
  1230.     qer_editorimage textures/models/natural/tree5s_3.tga
  1231.     nomipmaps
  1232.     cull none
  1233. //    good low wind values
  1234.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  1235.     {
  1236.         clampmap textures/models/natural/tree5s_3.tga
  1237.         depthWrite
  1238.         alphaFunc GE128
  1239.         alphaGen distFade 2100 1500
  1240.         rgbgen lightingSpherical
  1241.     }
  1242. }
  1243.  
  1244. static_tree5ssprite
  1245. {
  1246.     qer_editorimage textures/models/natural/tree5ssprite.tga
  1247.     qer_trans 0
  1248.     nomipmaps
  1249.     deformVertexes autoSprite2
  1250.     cull none
  1251.     {
  1252.         clampmap textures/models/natural/tree5ssprite.tga
  1253.         depthWrite
  1254.         alphaFunc GE128
  1255.         alphaGen oneMinusTikiDistFade 900 500
  1256.         rgbgen lightingSpherical
  1257.     }
  1258. }
  1259.  
  1260.  
  1261. // Winter Mid Pine
  1262. tree5sa_1 //trunk
  1263. {
  1264.     qer_editorimage textures/models/natural/tree5s_1.tga
  1265.     {
  1266.         map textures/models/natural/tree5s_1.tga
  1267.         rgbGen lightingSpherical
  1268.         alphaGen distFade 900 0
  1269.     }
  1270. }
  1271.  
  1272. tree5sa_2 //fill sections
  1273. {
  1274.     qer_editorimage textures/models/natural/tree5s_2.tga
  1275.         nomipmaps
  1276.     cull none
  1277. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1278.     {
  1279.         clampmap textures/models/natural/tree5s_2.tga
  1280.         depthWrite
  1281.         alphaFunc GE128
  1282.         alphaGen distFade 1500 800
  1283.         rgbGen lightingGrid
  1284.     }
  1285. }
  1286.  
  1287.  
  1288. tree5sa_3 //vertical cross sections
  1289. {
  1290.     qer_editorimage textures/models/natural/tree5s_3.tga
  1291.     nomipmaps
  1292.     cull none
  1293. //    good low wind values
  1294.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  1295.     {
  1296.         clampmap textures/models/natural/tree5s_3.tga
  1297.         depthWrite
  1298.         alphaFunc GE128
  1299.         alphaGen distFade 1800 900
  1300.         rgbGen lightingGrid
  1301.     }
  1302. }
  1303. tree5sspritea
  1304. {
  1305.     qer_editorimage textures/models/natural/tree5sspritea.tga
  1306.     qer_trans 0
  1307.     nomipmaps
  1308.     deformVertexes autoSprite2
  1309.     cull none
  1310.     {
  1311.         clampmap textures/models/natural/tree5sspritea.tga
  1312.         depthWrite
  1313.         alphaFunc GE128
  1314.         alphaGen oneMinusTikiDistFade 900 500
  1315.         rgbGen lightingGrid
  1316.     }
  1317. }
  1318.  
  1319. // Winter Mid Pine
  1320. static_tree5sa_1 //trunk
  1321. {
  1322.     qer_editorimage textures/models/natural/tree5s_1.tga
  1323.     {
  1324.         map textures/models/natural/tree5s_1.tga
  1325.         alphaGen distFade 900 0
  1326.         rgbgen lightingSpherical
  1327.     }
  1328. }
  1329. static_tree5sa_2 //fill sections
  1330. {
  1331.     qer_editorimage textures/models/natural/tree5s_2.tga
  1332.         nomipmaps
  1333.     cull none
  1334. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1335.     {
  1336.         clampmap textures/models/natural/tree5s_2.tga
  1337.         depthWrite
  1338.         alphaFunc GE128
  1339.         alphaGen distFade 1500 800
  1340.         rgbgen lightingSpherical
  1341.     }
  1342. }
  1343. static_tree5sa_3 //vertical cross sections
  1344. {
  1345.     qer_editorimage textures/models/natural/tree5s_3.tga
  1346.     nomipmaps
  1347.     cull none
  1348. //    good low wind values
  1349.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  1350.     {
  1351.         clampmap textures/models/natural/tree5s_3.tga
  1352.         depthWrite
  1353.         alphaFunc GE128
  1354.         alphaGen distFade 1800 900
  1355.         rgbgen lightingSpherical
  1356.     }
  1357. }
  1358. static_tree5sspritea
  1359. {
  1360.     qer_editorimage textures/models/natural/tree5sspritea.tga
  1361.     qer_trans 0
  1362.     nomipmaps
  1363.     deformVertexes autoSprite2
  1364.     cull none
  1365.     {
  1366.         clampmap textures/models/natural/tree5sspritea.tga
  1367.         depthWrite
  1368.         alphaFunc GE128
  1369.         alphaGen oneMinusTikiDistFade 900 500
  1370.         rgbGen lightinggrid
  1371.     }
  1372. }
  1373.  
  1374.  
  1375.  
  1376. // Winter Small Pine
  1377. tree5sb_1 //trunk
  1378. {
  1379.     qer_editorimage textures/models/natural/tree5s_1.tga
  1380.     {
  1381.         map textures/models/natural/tree5s_1.tga
  1382.         rgbGen lightingSpherical
  1383.         alphaGen distFade 900 0
  1384.     }
  1385. }
  1386.  
  1387. tree5sb_2 //fill sections
  1388. {
  1389.     qer_editorimage textures/models/natural/tree5s_2.tga
  1390.         nomipmaps
  1391.     cull none
  1392. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1393.     {
  1394.         clampmap textures/models/natural/tree5s_2.tga
  1395.         depthWrite
  1396.         alphaFunc GE128
  1397.         alphaGen distFade 1500 800
  1398.         rgbGen lightingGrid
  1399.     }
  1400. }
  1401.  
  1402.  
  1403. tree5sb_3 //vertical cross sections
  1404. {
  1405.     qer_editorimage textures/models/natural/tree5s_3.tga
  1406.     nomipmaps
  1407.     cull none
  1408. //    good low wind values
  1409.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  1410.     {
  1411.         clampmap textures/models/natural/tree5s_3.tga
  1412.         depthWrite
  1413.         alphaFunc GE128
  1414.         alphaGen distFade 1800 900
  1415.         rgbGen lightingGrid
  1416.     }
  1417. }
  1418. tree5sspriteb
  1419. {
  1420.     qer_editorimage textures/models/natural/tree5sspriteb.tga
  1421.     qer_trans 0
  1422.     nomipmaps
  1423.     deformVertexes autoSprite2
  1424.     cull none
  1425.     {
  1426.         clampmap textures/models/natural/tree5sspriteb.tga
  1427.         depthWrite
  1428.         alphaFunc GE128
  1429.         alphaGen oneMinusTikiDistFade 900 500
  1430.         rgbGen lightingGrid
  1431.     }
  1432. }
  1433.  
  1434. // Winter Small Pine
  1435. static_tree5sb_1 //trunk
  1436. {
  1437.     qer_editorimage textures/models/natural/tree5s_1.tga
  1438.     {
  1439.         map textures/models/natural/tree5s_1.tga
  1440.         rgbgen lightingSpherical
  1441.         alphaGen distFade 900 0
  1442.     }
  1443. }
  1444. static_tree5sb_2 //fill sections
  1445. {
  1446.     qer_editorimage textures/models/natural/tree5s_2.tga
  1447.         nomipmaps
  1448.     cull none
  1449. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1450.     {
  1451.         clampmap textures/models/natural/tree5s_2.tga
  1452.         depthWrite
  1453.         alphaFunc GE128
  1454.         alphaGen distFade 1500 800
  1455.         rgbgen lightingSpherical
  1456.     }
  1457. }
  1458. static_tree5sb_3 //vertical cross sections
  1459. {
  1460.     qer_editorimage textures/models/natural/tree5s_3.tga
  1461.     nomipmaps
  1462.     cull none
  1463. //    good low wind values
  1464.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  1465.     {
  1466.         clampmap textures/models/natural/tree5s_3.tga
  1467.         depthWrite
  1468.         alphaFunc GE128
  1469.         alphaGen distFade 1800 900
  1470.         rgbgen lightingSpherical
  1471.     }
  1472. }
  1473. static_tree5sspriteb
  1474. {
  1475.     qer_editorimage textures/models/natural/tree5sspriteb.tga
  1476.     qer_trans 0
  1477.     nomipmaps
  1478.     deformVertexes autoSprite2
  1479.     cull none
  1480.     {
  1481.         clampmap textures/models/natural/tree5sspriteb.tga
  1482.         depthWrite
  1483.         alphaFunc GE128
  1484.         alphaGen oneMinusTikiDistFade 900 500
  1485.         rgbgen lightingSpherical
  1486.     }
  1487. }
  1488.  
  1489.  
  1490. // Bush3- regualr bush
  1491. bush3_1
  1492. {
  1493.     qer_editorimage textures/models/natural/bush3_1.tga
  1494.     cull none
  1495.     {
  1496.         map textures/models/natural/bush3_1.tga
  1497.         depthWrite
  1498.         alphafunc GE128
  1499.         rgbGen lightingSpherical
  1500.     }
  1501. }
  1502. bush3_2
  1503. {
  1504.     qer_editorimage textures/models/natural/bush3_2.tga
  1505.     cull none
  1506.     {
  1507.         clampmap textures/models/natural/bush3_2.tga
  1508.         depthWrite
  1509.         alphafunc GE128
  1510.         rgbGen lightingSpherical
  1511.     }
  1512. }
  1513. bush3_3
  1514. {
  1515.     qer_editorimage textures/models/natural/bush3_3.tga
  1516.     cull none
  1517.     {
  1518.         clampmap textures/models/natural/bush3_3.tga
  1519.         depthWrite
  1520.         alphafunc GE128
  1521.         rgbGen lightingSpherical
  1522.     }
  1523. }
  1524.  
  1525. // Bush3- regualr bush
  1526. static_bush3_1
  1527. {
  1528.     qer_editorimage textures/models/natural/bush3_1.tga
  1529.     cull none
  1530.     deformVertexes flap t 24 sin 0 1 0    0.2 1 0
  1531.     deformVertexes flap t 24 sin 0 1 0.25 0.3 1 0
  1532.     {
  1533.         map textures/models/natural/bush3_1.tga
  1534.         depthWrite
  1535.         alphafunc GE128
  1536.         rgbgen lightingSpherical
  1537.     }
  1538. }
  1539. static_bush3_2
  1540. {
  1541.     qer_editorimage textures/models/natural/bush3_2.tga
  1542.     cull none
  1543.     deformVertexes wave 24 sin 0 0.75 0    0.2
  1544.     deformVertexes wave 24 sin 0 0.75 0.25 0.3
  1545.     {
  1546.         clampmap textures/models/natural/bush3_2.tga
  1547.         depthWrite
  1548.         alphafunc GE128
  1549.         rgbgen lightingSpherical
  1550.     }
  1551. }
  1552. static_bush3_3
  1553. {
  1554.     qer_editorimage textures/models/natural/bush3_3.tga
  1555.     cull none
  1556.     deformVertexes flap t 24 sin 0 1 0    0.2 1 0
  1557.     deformVertexes flap t 24 sin 0 1 0.25 0.3 1 0
  1558.     {
  1559.         clampmap textures/models/natural/bush3_3.tga
  1560.         depthWrite
  1561.         alphafunc GE128
  1562.         rgbgen lightingSpherical
  1563.     }
  1564. }
  1565.  
  1566.  
  1567. // Bush2- sparse shrub
  1568. bush2_1
  1569. {
  1570.     qer_editorimage textures/models/natural/bush2_1.tga
  1571.     cull none
  1572.     {
  1573.         map textures/models/natural/bush2_1.tga
  1574.         depthWrite
  1575.         alphafunc GE128
  1576.         rgbGen lightingSpherical
  1577.     }
  1578. }
  1579.  
  1580. // Bush2- sparse shrub
  1581. static_bush2_1
  1582. {
  1583.     qer_editorimage textures/models/natural/bush2_1.tga
  1584.     cull none
  1585.     deformVertexes flap t 24 sin 0 0.5 0    0.2 1 0 // 0.5 was 1.5
  1586.     deformVertexes flap t 24 sin 0 0.5 0.25 0.3 1 0 // 0.5 was 1.5
  1587.     {
  1588.         map textures/models/natural/bush2_1.tga
  1589.         depthWrite
  1590.         alphafunc GE128
  1591.         rgbgen lightingSpherical
  1592.     }
  1593. }
  1594.  
  1595.  
  1596. // Bush2a- sparse shrub
  1597. bush2a_1
  1598. {
  1599.     qer_editorimage textures/models/natural/bush2a_1.tga
  1600.     cull none
  1601.     {
  1602.         clampmap textures/models/natural/bush2a_1.tga
  1603.         depthWrite
  1604.         alphafunc GE128
  1605.         rgbGen lightingSpherical
  1606.     }
  1607. }
  1608.  
  1609. // Bush2a- sparse shrub
  1610. static_bush2a_1
  1611. {
  1612.     qer_editorimage textures/models/natural/bush2a_1.tga
  1613.     cull none
  1614.     {
  1615.         clampmap textures/models/natural/bush2a_1.tga
  1616.         depthWrite
  1617.         alphafunc GE128
  1618.         rgbgen lightingSpherical
  1619.     }
  1620. }
  1621.  
  1622.  
  1623. // Bush1- low lying leaves
  1624. bush1_1
  1625. {
  1626.     qer_editorimage textures/models/natural/bush1_1.tga
  1627.     cull none
  1628.     {
  1629.         clampmap textures/models/natural/bush1_1.tga
  1630.         depthWrite
  1631.         alphafunc GE128
  1632.         rgbGen lightingSpherical
  1633.     }
  1634. }
  1635.  
  1636. // Bush1- low lying leaves
  1637. static_bush1_1
  1638. {
  1639.     qer_editorimage textures/models/natural/bush1_1.tga
  1640.     cull none
  1641.     {
  1642.         clampmap textures/models/natural/bush1_1.tga
  1643.         depthWrite
  1644.         alphafunc GE128
  1645.         rgbgen lightingSpherical
  1646.     }
  1647. }
  1648.  
  1649. // Bush1a- ivy cover
  1650. bush1a_1
  1651. {
  1652.     qer_editorimage textures/models/natural/bush1a_1.tga
  1653.     cull none
  1654.     {
  1655.         clampmap textures/models/natural/bush1a_1.tga
  1656.         depthWrite
  1657.         alphafunc GE128
  1658.         rgbGen lightingSpherical
  1659.     }
  1660. }
  1661.  
  1662. // Bush1a- ivy cover
  1663. static_bush1a_1
  1664. {
  1665.     qer_editorimage textures/models/natural/bush1a_1.tga
  1666.     cull none
  1667.     {
  1668.         clampmap textures/models/natural/bush1a_1.tga
  1669.         depthWrite
  1670.         alphafunc GE128
  1671.         rgbgen lightingSpherical
  1672.     }
  1673. }
  1674.  
  1675.  
  1676. // Bush4- brush tree
  1677. bush4_1
  1678. {
  1679.     qer_editorimage textures/models/natural/bush4_1.tga
  1680.     {
  1681.         map textures/models/natural/bush4_1.tga
  1682.         rgbGen lightingSpherical
  1683.     }
  1684. }
  1685. bush4_2
  1686. {
  1687.     qer_editorimage textures/models/natural/bush4_2.tga
  1688.     cull none
  1689.     {
  1690.         clampmap textures/models/natural/bush4_2.tga
  1691.         depthWrite
  1692.         alphafunc GE128
  1693.         rgbGen lightingSpherical
  1694.     }
  1695. }
  1696. bush4_3
  1697. {
  1698.     qer_editorimage textures/models/natural/bush4_2.tga
  1699.     cull none
  1700.     {
  1701.         clampmap textures/models/natural/bush4_2.tga
  1702.         depthWrite
  1703.         alphafunc GE128
  1704.         rgbGen lightingSpherical
  1705.     }
  1706. }
  1707. bush4_4
  1708. {
  1709.     qer_editorimage textures/models/natural/bush4_2.tga
  1710.     cull none
  1711.     {
  1712.         clampmap textures/models/natural/bush4_2.tga
  1713.         depthWrite
  1714.         alphafunc GE128
  1715.         rgbGen lightingSpherical
  1716.     }
  1717. }
  1718.  
  1719. // Bush4- brush tree (bush_buckthorn.tik)
  1720. static_bush4_1 // trunk
  1721. {
  1722.     qer_editorimage textures/models/natural/bush4_1.tga
  1723.     {
  1724.         map textures/models/natural/bush4_1.tga
  1725.         rgbgen lightingSpherical
  1726.     }
  1727. }
  1728. static_bush4_2
  1729. {
  1730.     qer_editorimage textures/models/natural/bush4_2.tga
  1731.     cull none
  1732.     deformVertexes wave 24 sin 0 0.5 0    0.2 // 0.5 was 1.5
  1733.     deformVertexes wave 24 sin 0 0.5 0.25 0.3 // 0.5 was 1.5
  1734.     {
  1735.         clampmap textures/models/natural/bush4_2.tga
  1736.         depthWrite
  1737.         alphafunc GE128
  1738.         rgbgen lightingSpherical
  1739.     }
  1740. }
  1741.  
  1742.  
  1743. // Stump
  1744. stump
  1745. {
  1746.     qer_editorimage textures/models/natural/Stump.tga
  1747.     {
  1748.         map textures/models/natural/Stump.tga
  1749.         rgbGen lightingSpherical
  1750.     }
  1751. }
  1752.  
  1753. // Stump
  1754. static_stump
  1755. {
  1756.     qer_editorimage textures/models/natural/Stump.tga
  1757.     {
  1758.         map textures/models/natural/Stump.tga
  1759.         rgbgen lightingSpherical
  1760.     }
  1761. }
  1762.  
  1763.  
  1764. // Winter shrub-dogwood
  1765. w_shrub
  1766. {
  1767.     qer_editorimage textures/models/natural/w_shrub.tga
  1768.     cull none
  1769.     {
  1770.         clampmap textures/models/natural/w_shrub.tga
  1771.         depthWrite
  1772.         alphafunc GE128
  1773.         rgbGen lightingSpherical
  1774.     }
  1775. }
  1776.  
  1777. // Winter shrub-dogwood
  1778. static_w_shrub
  1779. {
  1780.     qer_editorimage textures/models/natural/w_shrub.tga
  1781.     cull none
  1782.     {
  1783.         clampmap textures/models/natural/w_shrub.tga
  1784.         depthWrite
  1785.         alphafunc GE128
  1786.         rgbgen lightingSpherical
  1787.     }
  1788. }
  1789.  
  1790.  
  1791. // Winter fill pine
  1792. wfill_pine2
  1793. {
  1794.     qer_editorimage textures/models/natural/wpinefill_cross.tga
  1795.     cull none
  1796.     {
  1797.         clampmap textures/models/natural/wpinefill_cross.tga
  1798.         depthWrite
  1799.         alphafunc GE128
  1800.         rgbGen lightingSpherical
  1801.     }
  1802. }
  1803. wfill_pine3
  1804. {
  1805.     qer_editorimage textures/models/natural/wpinefill_radial.tga
  1806.     cull none
  1807.     {
  1808.         clampmap textures/models/natural/wpinefill_radial.tga
  1809.         depthWrite
  1810.         alphafunc GE128
  1811.         rgbGen lightingSpherical
  1812.     }
  1813. }
  1814.  
  1815. // Winter fill pine
  1816. static_wfill_pine2
  1817. {
  1818.     qer_editorimage textures/models/natural/wpinefill_cross.tga
  1819.     cull none
  1820.     {
  1821.         clampmap textures/models/natural/wpinefill_cross.tga
  1822.         depthWrite
  1823.         alphafunc GE128
  1824.         rgbgen lightingSpherical
  1825.     }
  1826. }
  1827. static_wfill_pine3
  1828. {
  1829.     qer_editorimage textures/models/natural/wpinefill_radial.tga
  1830.     cull none
  1831.     {
  1832.         clampmap textures/models/natural/wpinefill_radial.tga
  1833.         depthWrite
  1834.         alphafunc GE128
  1835.         rgbgen lightingSpherical
  1836.     }
  1837. }
  1838.  
  1839.  
  1840. // Winter shrub full
  1841. wshrub
  1842. {
  1843.     qer_editorimage textures/models/natural/wshrub1.tga
  1844.     cull none
  1845.     {
  1846.         clampmap textures/models/natural/wshrub1.tga
  1847.         depthWrite
  1848.         alphafunc GE128
  1849.         rgbGen lightingSpherical
  1850.     }
  1851. }
  1852. wshrubfill
  1853. {
  1854.     qer_editorimage textures/models/natural/wshrubfill.tga
  1855.     cull none
  1856.     {
  1857.         clampmap textures/models/natural/wshrubfill.tga
  1858.         depthWrite
  1859.         alphafunc GE128
  1860.         rgbGen lightingSpherical
  1861.     }
  1862. }
  1863.  
  1864. // Winter shrub full
  1865. static_wshrub
  1866. {
  1867.     qer_editorimage textures/models/natural/wshrub1.tga
  1868.     cull none
  1869.     {
  1870.         clampmap textures/models/natural/wshrub1.tga
  1871.         depthWrite
  1872.         alphafunc GE128
  1873.         rgbgen lightingSpherical
  1874.     }
  1875. }
  1876. static_wshrubfill
  1877. {
  1878.     qer_editorimage textures/models/natural/wshrubfill.tga
  1879.     cull none
  1880.     {
  1881.         clampmap textures/models/natural/wshrubfill.tga
  1882.         depthWrite
  1883.         alphafunc GE128
  1884.         rgbgen lightingSpherical
  1885.     }
  1886. }
  1887.  
  1888.  
  1889. // Can be placed in levels as a normal texture
  1890. textures/models/natural/tree4_2_brush
  1891. {
  1892.     qer_editorimage textures/models/natural/tree4_2.tga
  1893.     qer_keyword tree
  1894.     qer_keyword folliage
  1895.     qer_keyword masked
  1896.     surfaceparm foliage
  1897.     surfaceparm fence
  1898.     surfaceparm alphashadow
  1899.      //nopicmip
  1900.     cull none
  1901.     {
  1902.         map textures/models/natural/tree4_2.tga
  1903.         depthWrite
  1904.         alphaFunc GE128
  1905.         nextbundle
  1906.         map $lightmap
  1907.     }
  1908. }
  1909.  
  1910. // Can be placed in levels as a normal texture
  1911. textures/models/natural/tree1_3_brush
  1912. {
  1913.     qer_editorimage textures/models/natural/tree1_3.tga
  1914.     qer_keyword tree
  1915.     qer_keyword folliage
  1916.     qer_keyword masked
  1917.     surfaceparm foliage
  1918.     surfaceparm fence
  1919.     surfaceparm alphashadow
  1920.      //nopicmip
  1921.     cull none
  1922.     {
  1923.         map textures/models/natural/tree1_3.tga
  1924.         depthWrite
  1925.         alphafunc GE128
  1926.         nextbundle
  1927.         map $lightmap
  1928.     }
  1929. }
  1930.  
  1931. // Can be placed in levels as a normal texture
  1932. textures/models/natural/tree4_3_brush
  1933. {
  1934.     qer_editorimage textures/models/natural/tree4_3.tga
  1935.     qer_keyword tree
  1936.     qer_keyword folliage
  1937.     qer_keyword masked
  1938.     surfaceparm foliage
  1939.     surfaceparm fence
  1940.     surfaceparm alphashadow
  1941.      //nopicmip
  1942.     cull none
  1943.     {
  1944.         map textures/models/natural/tree4_3.tga
  1945.         depthWrite
  1946.         alphafunc GE128
  1947.         nextbundle
  1948.         map $lightmap
  1949.     }
  1950. }
  1951.  
  1952.  
  1953. // Regular Palm Tree
  1954. palmregtrunk    // Trunk
  1955. {
  1956.     qer_editorimage textures/models/natural/palmregtrunk.tga
  1957.     {
  1958.         map textures/models/natural/palmregtrunk.tga
  1959.         rgbGen lightingSpherical
  1960.         alphaGen distFade 2304 0
  1961.     }
  1962. }
  1963. static_palmregtrunk    // Trunk
  1964. {
  1965.     qer_editorimage textures/models/natural/palmregtrunk.tga
  1966.     {
  1967.         map textures/models/natural/palmregtrunk.tga
  1968. //        rgbgen lightingSpherical
  1969.         rgbGen lightingSpherical
  1970.         alphaGen distFade 2304 0
  1971.     }
  1972. }
  1973.  
  1974. palmcross // Cross section
  1975. {
  1976.     qer_editorimage textures/models/natural/palmcross.tga
  1977.     nomipmaps
  1978.     cull none
  1979. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1980.     {
  1981.         clampmap textures/models/natural/palmcross.tga
  1982.         depthWrite
  1983.         alphaFunc GE128
  1984.         alphaGen distFade 1536 512
  1985.         rgbGen lightingGrid
  1986.     }
  1987. }
  1988. static_palmcross // Cross section
  1989. {
  1990.     qer_editorimage textures/models/natural/palmcross.tga
  1991.     nomipmaps
  1992.     cull none
  1993. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  1994.     {
  1995.         clampmap textures/models/natural/palmcross.tga
  1996.         depthWrite
  1997.         alphaFunc GE128
  1998.         alphaGen distFade 1536 512
  1999.         rgbGen lightingSpherical
  2000. //        rgbgen lightingSpherical
  2001.     }
  2002. }
  2003. palmfill // Fill leaves
  2004. {
  2005.     qer_editorimage textures/models/natural/palmfill.tga
  2006.     nomipmaps
  2007.     cull none
  2008. //    good low wind values
  2009.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  2010.     {
  2011.         clampmap textures/models/natural/palmfill.tga
  2012.         depthWrite
  2013.         alphaFunc GE128
  2014.         alphaGen distFade 1536 256
  2015.         rgbGen lightingGrid
  2016.     }
  2017. }
  2018. static_palmfill // Fill leaves
  2019. {
  2020.     qer_editorimage textures/models/natural/palmfill.tga
  2021.     nomipmaps
  2022.     cull none
  2023. //    good low wind values
  2024.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  2025.     {
  2026.         clampmap textures/models/natural/palmfill.tga
  2027.         depthWrite
  2028.         alphaFunc GE128
  2029.         alphaGen distFade 1536 256
  2030.         rgbGen lightingSpherical
  2031. //        rgbgen lightingSpherical
  2032.     }
  2033. }
  2034.  
  2035. regpalmsprite // Sprite version
  2036. {
  2037.     qer_editorimage textures/models/natural/regpalmsprite.tga
  2038.     qer_trans .25
  2039.     nomipmaps
  2040.     deformVertexes autoSprite2
  2041.     cull none
  2042.     {
  2043.         clampmap textures/models/natural/regpalmsprite.tga
  2044.         depthWrite
  2045.         alphaFunc GE128
  2046.         alphaGen oneMinusTikiDistFade 1216 512
  2047.         rgbGen lightingGrid
  2048.     }
  2049. }
  2050. // Shorter Palm Tree
  2051. static_shortpalmtrunk    // Trunk
  2052. {
  2053.     qer_editorimage textures/models/natural/shortpalmtrunk.tga
  2054.     {
  2055.         map textures/models/natural/shortpalmtrunk.tga
  2056.         rgbgen lightingSpherical
  2057.         alphaGen distFade 2304 0
  2058.     }
  2059. }
  2060. static_shortpalmcross // Cross section
  2061. {
  2062.     qer_editorimage textures/models/natural/shortpalmcross.tga
  2063.     nomipmaps
  2064.     cull none
  2065. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  2066.     {
  2067.         clampmap textures/models/natural/shortpalmcross.tga
  2068.         depthWrite
  2069.         alphaFunc GE128
  2070.         alphaGen distFade 1536 512
  2071.         rgbgen lightingSpherical
  2072.     }
  2073. }
  2074.  
  2075. static_shortpalmfill // Fill leaves
  2076. {
  2077.     qer_editorimage textures/models/natural/shortpalmfill.tga
  2078.     nomipmaps
  2079.     cull none
  2080. //    good low wind values
  2081.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  2082.     {
  2083.         clampmap textures/models/natural/shortpalmfill.tga
  2084.         depthWrite
  2085.         alphaFunc GE128
  2086.         alphaGen distFade 1536 256
  2087.         rgbgen lightingSpherical
  2088.     }
  2089. }
  2090. static_shortpalmsprite // Sprite version
  2091. {
  2092.     qer_editorimage textures/models/natural/shortpalmsprite.tga
  2093.     qer_trans .25
  2094.     nomipmaps
  2095.     deformVertexes autoSprite2
  2096.     cull none
  2097.     {
  2098.         clampmap textures/models/natural/shortpalmsprite.tga
  2099.         depthWrite
  2100.         alphaFunc GE128
  2101.         alphaGen oneMinusTikiDistFade 1216 512
  2102.         rgbgen lightingSpherical
  2103.     }
  2104. }
  2105. // Small Yucca
  2106. static_smallyuccatrunk    // Trunk
  2107. {
  2108.     qer_editorimage textures/models/natural/smallyuccatrunk.tga
  2109.     {
  2110.         map textures/models/natural/smallyuccatrunk.tga
  2111.         rgbgen lightingSpherical
  2112.         alphaGen distFade 2304 0
  2113.     }
  2114. }
  2115. static_smallyuccacross // Cross section
  2116. {
  2117.     qer_editorimage textures/models/natural/smallyuccacross.tga
  2118.     nomipmaps
  2119.     cull none
  2120. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  2121.     {
  2122.         clampmap textures/models/natural/smallyuccacross.tga
  2123.         depthWrite
  2124.         alphaFunc GE128
  2125.         alphaGen distFade 1536 512
  2126.         rgbgen lightingSpherical
  2127.     }
  2128. }
  2129.  
  2130. static_smallyuccafill // Fill leaves
  2131. {
  2132.     qer_editorimage textures/models/natural/smallyuccafill.tga
  2133.     nomipmaps
  2134.     cull none
  2135. //    good low wind values
  2136.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  2137.     {
  2138.         clampmap textures/models/natural/smallyuccafill.tga
  2139.         depthWrite
  2140.         alphaFunc GE128
  2141.         alphaGen distFade 1536 256
  2142.         rgbgen lightingSpherical
  2143.     }
  2144. }
  2145. static_smallyuccasprite // Sprite version
  2146. {
  2147.     qer_editorimage textures/models/natural/smallyuccasprite.tga
  2148.     qer_trans .25
  2149.     nomipmaps
  2150.     deformVertexes autoSprite2
  2151.     cull none
  2152.     {
  2153.         clampmap textures/models/natural/smallyuccasprite.tga
  2154.         depthWrite
  2155.         alphaFunc GE128
  2156.         alphaGen oneMinusTikiDistFade 1216 512
  2157.         rgbgen lightingSpherical
  2158.     }
  2159. }
  2160. // Tall Yucca
  2161. static_tallyuccatrunk    // Trunk
  2162. {
  2163.     qer_editorimage textures/models/natural/tallyuccatrunk.tga
  2164.     {
  2165.         map textures/models/natural/tallyuccatrunk.tga
  2166.         rgbgen lightingSpherical
  2167.         alphaGen distFade 2304 0
  2168.     }
  2169. }
  2170. static_tallyuccacross // Cross section
  2171. {
  2172.     qer_editorimage textures/models/natural/tallyuccacross.tga
  2173.     nomipmaps
  2174.     cull none
  2175. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  2176.     {
  2177.         clampmap textures/models/natural/tallyuccacross.tga
  2178.         depthWrite
  2179.         alphaFunc GE128
  2180.         alphaGen distFade 1536 512
  2181.         rgbgen lightingSpherical
  2182.     }
  2183. }
  2184.  
  2185. static_tallyuccasprite // Sprite version
  2186. {
  2187.     qer_editorimage textures/models/natural/tallyuccasprite.tga
  2188.     qer_trans .25
  2189.     nomipmaps
  2190.     deformVertexes autoSprite2
  2191.     cull none
  2192.     {
  2193.         clampmap textures/models/natural/tallyuccasprite.tga
  2194.         depthWrite
  2195.         alphaFunc GE128
  2196.         alphaGen oneMinusTikiDistFade 1216 512
  2197.         rgbgen lightingSpherical
  2198.     }
  2199. }
  2200. // Squat Palm
  2201. static_squatpalmtrunk    // Trunk
  2202. {
  2203.     qer_editorimage textures/models/natural/shortpalmtrunk.tga
  2204.     {
  2205.         map textures/models/natural/shortpalmtrunk.tga
  2206.         rgbgen lightingSpherical
  2207.         alphaGen distFade 2304 0
  2208.     }
  2209. }
  2210. static_squatpalmcross // Cross section
  2211. {
  2212.     qer_editorimage textures/models/natural/shortpalmfill.tga
  2213.     nomipmaps
  2214.     cull none
  2215. //    deformVertexes flap t 24 sin 4 4 0 1 1 0
  2216.     {
  2217.         clampmap textures/models/natural/shortpalmfill.tga
  2218.         depthWrite
  2219.         alphaFunc GE128
  2220.         alphaGen distFade 1536 512
  2221.         rgbgen lightingSpherical
  2222.     }
  2223. }
  2224.  
  2225. static_squatpalmsprite // Sprite version
  2226. {
  2227.     qer_editorimage textures/models/natural/squatpalmsprite.tga
  2228.     qer_trans .25
  2229.     nomipmaps
  2230.     deformVertexes autoSprite2
  2231.     cull none
  2232.     {
  2233.         clampmap textures/models/natural/squatpalmsprite.tga
  2234.         depthWrite
  2235.         alphaFunc GE128
  2236.         alphaGen oneMinusTikiDistFade 121600 512
  2237.         rgbgen lightingSpherical
  2238.     }
  2239.  
  2240. // Bush_full_heavyweather  //Rainy day bush
  2241. static_bushhw_1 //trunk
  2242. {
  2243.     qer_editorimage textures/models/natural/tree4_1.tga
  2244.     {
  2245.         map textures/models/natural/tree4_1.tga
  2246.         rgbgen lightingSpherical
  2247.         alphaGen distFade 2000 600
  2248.     }
  2249. }
  2250. static_bushhw_2 //vertical cross section
  2251. {
  2252.     qer_editorimage textures/models/natural/tree4_2.tga
  2253.     nomipmaps
  2254.     cull none
  2255.     //deformVertexes flap t 24 sin 0 2.5 0    0.2 1 0
  2256.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  2257.     {
  2258.         clampmap textures/models/natural/tree4_2.tga
  2259.         depthWrite
  2260.         alphaFunc GE128
  2261.         alphaGen distFade 2000 1500
  2262.         rgbgen lightingSpherical
  2263.     }
  2264. }
  2265. static_bushhw_3 //fill plains
  2266. {
  2267.     qer_editorimage textures/models/natural/tree4_3.tga
  2268.     nomipmaps
  2269.     cull none
  2270.     //deformVertexes flap t 24 sin 0 2.5 0    0.2 1 0
  2271.     deformVertexes flap t 24 sin 2 3 0 .25 1 0
  2272.     {
  2273.         clampmap textures/models/natural/tree4_3.tga
  2274.         depthWrite
  2275.         alphaFunc GE128
  2276.         alphaGen distFade 1400 1400
  2277.         rgbgen lightingSpherical
  2278.     }
  2279. }
  2280. static_tree4_4a //horizontal cross plains
  2281. {
  2282.     qer_editorimage textures/models/natural/tree4radial.tga
  2283.     nomipmaps
  2284.     cull none
  2285.     //deformVertexes wave 24 sin 0 0.5 0    0.2
  2286.     deformVertexes wave 24 sin 2 3 0 .25 1 0
  2287.     {
  2288.         clampmap textures/models/natural/tree4radial.tga
  2289.         depthWrite
  2290.         alphaFunc GE128
  2291.         alphaGen distFade 256 256
  2292.         rgbgen lightingSpherical
  2293.     }
  2294. }
  2295.  
  2296. //snowy fir tree
  2297. fir_snowy_trunk_rings
  2298. {
  2299.     qer_editorimage textures/models/natural/fir_snowy_trunk_rings.tga
  2300.     {
  2301.         map textures/models/natural/fir_snowy_trunk_rings.tga
  2302.         rgbGen lightingSpherical
  2303.         //rgbGen constant .24 .24 .25 //kinda not acceptable
  2304.     }
  2305. }
  2306.  
  2307. fir_snowy_trunk
  2308. {
  2309.     qer_editorimage textures/models/natural/fir_snowy_trunk.tga
  2310.     {
  2311.         map textures/models/natural/fir_snowy_trunk.tga
  2312.         rgbGen lightingspherical
  2313.         //rgbGen constant .14 .15 .15 //kinda not acceptable
  2314.     }
  2315. }
  2316.  
  2317.  
  2318. fir_trunk_splinters
  2319. {
  2320.     cull back
  2321.     qer_editorimage textures/models/natural/fir_trunk_splinters.tga
  2322.     {
  2323.         clampmap textures/models/natural/fir_trunk_splinters.tga
  2324.         alphaFunc GE128
  2325.         alphaGen distFade 512 512
  2326.         rgbGen lightingSpherical
  2327.         //rgbGen constant .13 .14 .14 //kinda not acceptable
  2328.     }
  2329. }
  2330.  
  2331. fir_snowy_branch_circular
  2332. {
  2333.     qer_editorimage textures/models/natural/fir_snowy_branch_circular.tga
  2334.     cull none
  2335.     //deformVertexes wave 24 sin 2 3 0 .25 1 0
  2336.     {
  2337.         clampmap textures/models/natural/fir_snowy_branch_circular.tga
  2338.         alphaFunc GE128
  2339.         alphaGen distFade 512 512
  2340.         rgbGen lightingSpherical
  2341.         //rgbGen constant .036 .0405 .042 //kinda not acceptable
  2342.     }
  2343. }
  2344.  
  2345.  
  2346. fir_snowy_branch_small
  2347. {
  2348.     qer_editorimage textures/models/natural/fir_snowy_branch_small.tga
  2349.     cull none
  2350.     deformVertexes flap t 24 sin 0.25 0.75 0 .15 1 0
  2351.     {
  2352.         clampmap textures/models/natural/fir_snowy_branch_small.tga
  2353.         alphaFunc GE128
  2354.         rgbGen lightingSpherical
  2355.         //rgbGen constant .05184 .05832 .059 //kinda not acceptable
  2356.  
  2357.  
  2358.     }
  2359. }
  2360.  
  2361. fir_snowy_branch_snowyfoliage
  2362. {
  2363.     qer_editorimage textures/models/natural/fir_snowy_branch_snowyfoliage.tga
  2364.     cull none
  2365.     deformVertexes flap t 24 sin 0.35 0.85 0 .15 1 0
  2366.     {
  2367.         clampmap textures/models/natural/fir_snowy_branch_snowyfoliage.tga
  2368.         alphaFunc GE128
  2369.         rgbGen lightingSpherical //kinda not acceptable
  2370.         //rgbGen constant .088 .104 .104
  2371.     }
  2372. }
  2373.  
  2374. //commontree falling
  2375. falling_tree1_1    // Trunk
  2376. {
  2377.     qer_editorimage textures/models/natural/tree1_1.tga
  2378.     {
  2379.         map textures/models/natural/tree1_1.tga
  2380.         rgbGen lightingSpherical
  2381.     }
  2382. }
  2383. falling_tree1_2 // Small fill branches
  2384. {
  2385.     qer_editorimage textures/models/natural/tree1_2.tga
  2386.     nomipmaps
  2387.     cull none
  2388.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  2389.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  2390.     {
  2391.         clampmap textures/models/natural/tree1_2.tga
  2392.         depthWrite
  2393.         alphaFunc GE128
  2394.         rgbGen lightingSpherical
  2395.     }
  2396. }
  2397. falling_tree1_3 // Cross section
  2398. {
  2399.     qer_editorimage textures/models/natural/tree1_3.tga
  2400.     nomipmaps
  2401.     cull none
  2402.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  2403.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  2404.     {
  2405.         clampmap textures/models/natural/tree1_3.tga
  2406.         depthWrite
  2407.         alphaFunc GE128
  2408.         rgbGen lightingSpherical
  2409.     }
  2410. }
  2411. falling_tree1_4 // Horizontal cross section
  2412. {
  2413.     qer_editorimage textures/models/natural/tree1_4.tga
  2414.     nomipmaps
  2415.     
  2416.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  2417.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  2418.     {
  2419.         clampmap textures/models/natural/tree1_4.tga
  2420.         depthWrite
  2421.         alphaFunc GE128
  2422.         rgbGen lightingSpherical
  2423.     }
  2424. }
  2425. falling_tree1_5 // Fill leaves
  2426. {
  2427.     qer_editorimage textures/models/natural/tree1_5.tga
  2428.     nomipmaps
  2429.     cull none
  2430. //    good low wind values
  2431. //    deformVertexes flap t 24 sin 2 3 0   .25 1 0
  2432.  
  2433.     deformVertexes flap t 24 sin 0 3.5 0    0.2 1 0
  2434.     deformVertexes flap t 24 sin 0 3.5 0.25 0.3 1 0
  2435.  
  2436. //    deformVertexes flap <s|t> <div> <function> <base> <amplitude> <phase> <frequency> <optional min> <optional max>
  2437. //    deformVertexes flap t     128   sin        0      4           0       .2          1              0
  2438. //    deformVertexes flap t     128   sin        0      4          .25      .25         1              0
  2439.     {
  2440.         clampmap textures/models/natural/tree1_5.tga
  2441.         depthWrite
  2442.         alphaFunc GE128
  2443.         rgbGen lightingSpherical
  2444.     }
  2445. }
  2446. falling_tree1sprite // Sprite version
  2447. {
  2448.     qer_editorimage textures/models/natural/tree1sprite.tga
  2449.     qer_trans 0
  2450.     nomipmaps
  2451.     deformVertexes autoSprite2
  2452.     cull none
  2453.     {
  2454.         clampmap textures/models/natural/tree1sprite.tga
  2455.         depthWrite
  2456.         alphaFunc GE128
  2457.         rgbGen lightingSpherical
  2458.     }
  2459. }
  2460.  
  2461. // Bush3- regular bush REDEFINED
  2462. static_bush3_1
  2463. {
  2464.     qer_editorimage textures/models/natural/bush3_1.tga
  2465.     cull none
  2466.     deformVertexes flap t 24 sin 0 1 0    0.2 1 0
  2467.     deformVertexes flap t 24 sin 0 1 0.25 0.3 1 0
  2468.     {
  2469.         map textures/models/natural/bush3_1.tga
  2470.         depthWrite
  2471.         alphaGen distFade 1000 1000
  2472.         alphafunc GE128
  2473.         rgbgen lightingSpherical
  2474.     }
  2475. }
  2476. static_bush3_2
  2477. {
  2478.     qer_editorimage textures/models/natural/bush3_2.tga
  2479.     cull none
  2480.     deformVertexes wave 24 sin 0 0.75 0    0.2
  2481.     deformVertexes wave 24 sin 0 0.75 0.25 0.3
  2482.     {
  2483.         clampmap textures/models/natural/bush3_2.tga
  2484.         depthWrite
  2485.         alphaGen distFade 1000 1000
  2486.         alphafunc GE128
  2487.         rgbgen lightingSpherical
  2488.     }
  2489. }
  2490. static_bush3_3
  2491. {
  2492.     qer_editorimage textures/models/natural/bush3_3.tga
  2493.     cull none
  2494.     deformVertexes flap t 24 sin 0 1 0    0.2 1 0
  2495.     deformVertexes flap t 24 sin 0 1 0.25 0.3 1 0
  2496.     {
  2497.         clampmap textures/models/natural/bush3_3.tga
  2498.         depthWrite
  2499.         alphaGen distFade 1000 1000
  2500.         alphafunc GE128
  2501.         rgbgen lightingSpherical
  2502.     }
  2503. }
  2504.